package org.jeecg.modules.plantation.service.impl;

import org.jeecg.modules.plantation.entity.Plantation;
import org.jeecg.modules.plantation.mapper.PlantationMapper;
import org.jeecg.modules.plantation.service.IPlantationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;
import java.util.Map;

/**
 * @Description: 种植信息
 * @Author: jeecg-boot
 * @Date:   2019-08-26
 * @Version: V1.0
 */
@Service
public class PlantationServiceImpl extends ServiceImpl<PlantationMapper, Plantation> implements IPlantationService {

    @Autowired
    private PlantationMapper plantationMapper;

    public Plantation sumPlantantion(Map<String,Object> map){
        return plantationMapper.sumPlantantion(map);
    }


    public List<Map<String,Object>> sumActualOutput(Map<String,Object> map){
        return plantationMapper.sumActualOutput(map);
    }
}
